<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>招聘信息发布</title>
    <style>
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 20px;
            display: flex;
            justify-content: center;
        }
        
        .container {
            width: 750px;
            max-width: 100%;
        }
        
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .header h1 {
            color: #333;
            font-size: 24px;
            margin-bottom: 10px;
        }
        
        .post-form {
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #555;
        }
        
        .form-group input, 
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            box-sizing: border-box;
        }
        
        .salary-input {
            display: flex;
            align-items: center;
        }
        
        .salary-input span {
            margin: 0 10px;
        }
        
        .tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .tag-option {
            background-color: #f0f0f0;
            padding: 5px 10px;
            border-radius: 15px;
            cursor: pointer;
            font-size: 12px;
        }
        
        .tag-option.selected {
            background-color: #e3f2fd;
            color: #1976d2;
        }
        
        .submit-btn {
            background-color: #1976d2;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            width: 100%;
            margin-top: 20px;
        }
        
        .submit-btn:hover {
            background-color: #1565c0;
        }
        
        .preview {
            margin-top: 30px;
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .preview h2 {
            font-size: 18px;
            color: #333;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .job-card {
            border: 1px solid #eee;
            border-radius: 6px;
            padding: 15px;
            position: relative;
        }
        
        .job-card::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background-color: #1976d2;
            border-radius: 6px 0 0 6px;
        }
        
        .job-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .company-info {
            color: #666;
            font-size: 14px;
            margin-bottom: 5px;
        }
        
        .salary {
            color: #f44336;
            font-size: 20px;
            font-weight: bold;
            margin: 10px 0;
        }
        
        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 10px 0;
        }
        
        .tag {
            background-color: #f5f5f5;
            color: #666;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 12px;
        }
        
        .footer {
            display: flex;
            justify-content: space-between;
            color: #999;
            font-size: 12px;
            margin-top: 10px;
        }
        
        .apply-btn {
            background-color: #1976d2;
            color: white;
            border: none;
            padding: 5px 15px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>发布招聘信息</h1>
        </div>
        
        <div class="post-form">
            <div class="form-group">
                <label for="job-title">职位名称</label>
                <input type="text" id="job-title" placeholder="例如：SMT技术员">
            </div>
            
            <div class="form-group">
                <label for="company">公司名称</label>
                <input type="text" id="company" placeholder="例如：中芯科技制造厂">
            </div>
            
            <div class="form-group">
                <label for="location">工作地点</label>
                <input type="text" id="location" placeholder="例如：松江区">
            </div>
            
            <div class="form-group">
                <label for="experience">经验要求</label>
                <input type="text" id="experience" placeholder="例如：2年以上经验">
            </div>
            
            <div class="form-group">
                <label for="salary">薪资范围</label>
                <div class="salary-input">
                    <input type="text" id="salary-min" placeholder="最低薪资" style="width: 45%;">
                    <span>至</span>
                    <input type="text" id="salary-max" placeholder="最高薪资" style="width: 45%;">
                    <span>/月</span>
                </div>
            </div>
            
            <div class="form-group">
                <label>职位标签</label>
                <div class="tags-container">
                    <div class="tag-option">两班倒</div>
                    <div class="tag-option">包吃住</div>
                    <div class="tag-option">年终奖金</div>
                    <div class="tag-option">带薪年假</div>
                    <div class="tag-option">五险一金</div>
                    <div class="tag-option">周末双休</div>
                </div>
            </div>
            
            <div class="form-group">
                <label for="description">职位描述</label>
                <textarea id="description" rows="5" placeholder="请输入职位描述..."></textarea>
            </div>
            
            <button class="submit-btn">发布招聘</button>
        </div>
        
        <div class="preview">
            <h2>预览效果</h2>
            <div class="job-card">
                <div class="job-title">SMT技术员</div>
                <div class="company-info">中芯科技制造厂 · 松江区 · 2年以上经验</div>
                <div class="salary">¥6500-8500/月</div>
                <div class="tags">
                    <div class="tag">两班倒</div>
                    <div class="tag">包吃住</div>
                    <div class="tag">年终奖金</div>
                    <div class="tag">带薪年假</div>
                </div>
                <div class="footer">
                    <div>2天前发布</div>
                    <button class="apply-btn">立即申请</button>
                </div>
            </div>
        </div>
    </div>
    
    <script>
        // 简单的标签选择交互
        document.querySelectorAll('.tag-option').forEach(tag => {
            tag.addEventListener('click', function() {
                this.classList.toggle('selected');
            });
        });
    </script>
</body>
</html>